package itsm.isperp.module.dto.solr;

import itsm.isperp.framework.domain.IBean;

import java.util.Date;

import org.apache.solr.client.solrj.beans.Field;
import org.springframework.data.annotation.Id;

public class SolrKngKnowledgeDTO implements IBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Field
	protected String id;

	@Field
	protected String sourceId;

	@Field
	protected String title;

	@Field
	protected String categoryId;

	@Field
	protected String categoryPath;
	@Field
	protected String categoryName;
	@Field
	protected String status;

	@Field
	protected String keyword;

	@Field
	protected String contents;

	@Field
	protected Integer readTimes;

	@Field
	protected Integer commentaryTimes;

	@Field
	protected String accessRight;

	@Field
	protected Date publishDate;

	@Field
	protected String classType;

	public String getSourceId() {
		return sourceId;
	}

	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}

	public String getClassType() {
		return classType;
	}

	public void setClassType(String classType) {
		this.classType = classType;
	}

	public String getCategoryPath() {
		return categoryPath;
	}

	public void setCategoryPath(String categoryPath) {
		this.categoryPath = categoryPath;
	}

	@Override
	public String getId() {
		return id;
	}

	@Override
	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getContents() {
		return contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public Integer getReadTimes() {
		return readTimes;
	}

	public void setReadTimes(Integer readTimes) {
		this.readTimes = readTimes;
	}

	public Integer getCommentaryTimes() {
		return commentaryTimes;
	}

	public void setCommentaryTimes(Integer commentaryTimes) {
		this.commentaryTimes = commentaryTimes;
	}

	public String getAccessRight() {
		return accessRight;
	}

	public void setAccessRight(String accessRight) {
		this.accessRight = accessRight;
	}

	public Date getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
